﻿using LiteFramework.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LiteFramework.Contract
{
    public interface IRoleContract : IAbsContract<Role>
    {
        IList<LiteFramework.Model.Task> GetRoleTasks(string roleId);
        IList<LiteFramework.Model.Task> GetUserTasks(int userId);
        IList<LiteFramework.Model.User> GetRoleUsers(string roleId);
        IList<LiteFramework.Model.Role> GetUserRoles(int userId);
    }
}